//base
export const update_loading = ( {dispatch}, loading ) => {
  dispatch('UPDATE_LOADING', loading)
}
export const update_direction = ( {dispatch}, direction ) => {
  dispatch('UPDATE_DIRECTION', direction)
}


//hotel
export const set_hotel = ( {dispatch}, hotel ) => {
    console.log("set_hotel")
  dispatch('SET_HOTEL', hotel)
}